package com.wenwan.manage.pojo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * 普通文章的评论
 * 
 * @author Admin
 *
 */
public class ArticleComment implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1240687407902483118L;

	/**
	 * 评论的id
	 */
	private String id;
	/**
	 * 创建 时间
	 */
	private String createTime;
	/**
	 * 更新时间
	 */
	@JsonIgnore
	private String updateTime;
	/**
	 * 评论的内容（是否支付图片，调整中）
	 */
	private String content;
	/**
	 * 被评论的文章ID
	 */
	@JsonIgnore
	private String articleId;
	/**
	 * 评论者的id
	 */
	@JsonIgnore
	private String userId;

	/**
	 * 评论者的信息
	 */
	private User user;

	/**
	 * 此评论的子评论集合
	 */
	private List<ArticleCommentClient> articleCommentClientList = new ArrayList<ArticleCommentClient>();

	public ArticleComment() {
		// TODO Auto-generated constructor stub
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getArticleId() {
		return articleId;
	}

	public void setArticleId(String articleId) {
		this.articleId = articleId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public List<ArticleCommentClient> getArticleCommentClientList() {
		return articleCommentClientList;
	}

	public void setArticleCommentClientList(List<ArticleCommentClient> articleCommentClientList) {
		this.articleCommentClientList = articleCommentClientList;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

}
